package com.bianys.tiwen.controller;


import com.bianys.tiwen.service.IStudentService;
import com.bianys.tiwen.service.impl.StudentServiceImpl;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author bianys
 * @since 2022-04-16
 */
@RestController
@RequestMapping("/tiwen")
public class StudentController {
    @Autowired
    StudentServiceImpl service;

    @RequestMapping("/manual")
    public String student(){
        service.tianTiWen();
        return "手动填写成功";
    }
    @RequestMapping("/test")
    public String test(){
        return "test";
    }
}

